package com.firewolf.wx.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.firewolf.wx.web.WxContext;

@Controller
@RequestMapping("/web")
public class WebController {
	
	@Autowired
	private WxContext wxContext;
	
	@RequestMapping("/imgUrl")
	@ResponseBody
	public String imgUrl(){
		return wxContext.getImgserverUrl();
	}
}
